<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/static/common/common.jsp"></jsp:include>
    <script type="text/javascript" src="/static/js/accidentDetail.js"></script>
</head>
<body>
<%--此处必须设计为双标签,否则不能作为容器储存数据--%>
<table id="emp_grid"></table>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit'" onclick="edit()">完善明细</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-upload'" onclick="changeState()">提交审核</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-reload" onclick="reload()">刷新</a>
    <%--在easyUI中文本框的格式为textboxchangeState--%>
    <%--设置提示内容的属性为prompt--%>
    <input class="easyui-textbox" name="keyword" prompt="请输入任意关键字">
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="query()">搜索</a>
</div>
<div id="form_btn">
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" onclick="save()">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="cancel()">取消</a>
</div>

<%--新增,编辑 弹窗--%>
<div id="summary_dialog">
    <%--切记提交表单的方式--%>
    <form id="emp_form" method="post" data-url="/accidentDetail/saveOrUpdate.do">
        <input type="hidden" id="id" name="id"/>
        <table align="center" style="margin-top: 15px">
            <tr><td>事故描述表</td></tr>
            <tr>
                <td>责任指定:</td>
                <td>
                    <input name="wok" class="easyui-textbox" prompt="请输背锅人名称">
                </td>
            </tr>
            <tr>
                <td>处理时间:</td>
                <td>
                    <input name="time" class="easyui-datebox">
                </td>
            </tr>
            <tr>
                <td>事故描述:</td>
                <td align="center">
                    <textarea name="summary"
                              class="easyui-validatebox"  style="height:60px;width: 140px">
                    </textarea>
                </td>
            </tr>
            <tr>
                <td>补充描述:</td>
                <td align="center">
                    <textarea name="tips"
                              class="easyui-validatebox"  style="height:60px;width: 140px">
                    </textarea>
                </td>
            </tr>
            <tr><td>赔损明细表</td></tr>
            <tr>
                <td>收款人:</td>
                <td>
                    <input name="payee" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>银行卡号:</td>
                <td>
                    <input name="cardnum" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>赔付总额:</td>
                <td>
                    <input name="compensate" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <%--<td>报案人地址:</td>--%>
                <td>
                    <input name="place" class="easyui-textbox" type="hidden">
                </td>
            </tr>
            <tr>
                <%--<td>报案人电话:</td>--%>
                <td>
                    <input name="tel" class="easyui-textbox" type="hidden">
                </td>
            </tr>
            <tr>
                <%--<td>车牌号码:</td>--%>
                <td>
                    <input name="carnumber" class="easyui-textbox" type="hidden">
                </td>
            </tr>
            <tr>
                <%--<td>保单编号:</td>--%>
                <td>
                    <input name="numbering" class="easyui-textbox" type="hidden">
                </td>
            </tr>
            <tr>
                <%--<td>现场员工:</td>--%>
                <td>
                    <input name="employee" class="easyui-textbox" type="hidden">
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
